﻿using MvcSample.Data.Core;
using MvcSample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MvcSample.Services
{
    public interface IStudentService
    {
        Task<List<StudentOutputDto>> GetAllAsync();
        Task<StudentOutputDto> GetByIdAsync(int id);
        Task AddAsync(Student stu);
        Task<int> GetCountAsync();
    }
}
